package behavioral.command_partten;

/**
 * @InterfaceName: Command
 * @Description: 抽象命令接口
 * @Author: liu-hao
 * @Date: 2023-04-11 22:35
 * @Version: 1.0
 **/
public interface Command {
    // 执行命令
    public abstract void execute();

    // 撤销命令
    public abstract void undo();
}
